package top.dreamcenter.rss.common.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.ArrayList;
import java.util.List;

/**
 * RSS channel
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class RSS {

    /**
     * 频道标题
     */
    private String title;

    /**
     * 频道主链接
     */
    private String link;

    /**
     * 频道描述
     */
    private String description;

    /**
     * 频道文章列表
     */
    private List<RssItem> item = new ArrayList<>();
}
